package the.workshop.milktea.infrastructure.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

/**
 * <p>
 * 种类
 * </p>
 *
 * @author huamu
 * @since 2023-04-01
 */
@Data
@TableName("milktea_shop")
public class Shop extends SuperEntity {
    private static final long serialVersionUID = -5916401807233648458L;
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    @TableField("name")
    private String name;

    @TableField("address")
    private String address;

}
